/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-09-29
*/
package com.rzico.order.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   砍价订单数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_bargain_order")
public class BargainOrder{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "砍价ID" )
    protected Long bargainBuyId;

    @ApiModelProperty(value = "砍价人" )
    protected Long memberId;

    @ApiModelProperty(value = "是否机器人" )
    protected Boolean robot;

    @ApiModelProperty(value = "头像" )
    protected String avatar;

    @ApiModelProperty(value = "用户昵称" )
    protected String nickname;

    @ApiModelProperty(value = "订单号" )
    protected Long orderId;

    @ApiModelProperty(value = "期数号" )
    protected Long periodId;

    @ApiModelProperty(value = "企业" )
    protected Long enterpriseId;

    @ApiModelProperty(value = "获得金币" )
    protected java.math.BigDecimal point;

    @ApiModelProperty(value = "是否发起人" )
    protected Boolean sponsor;

    @ApiModelProperty(value = "人气王" )
    protected Boolean king;


}
